﻿using SqlSugar;

namespace quartz_service.Tools
{
    /// <summary>
    /// SqlSugarScope 帮助类
    /// </summary>
    public class SqlSugarHelper
    {
        public static SqlSugarScope Db = new(new ConnectionConfig()
        {
            ConnectionString = AppsettingsTool.Configuration?.GetConnectionString("Mysql"),
            DbType = DbType.MySql,
            IsAutoCloseConnection = true
        });
    }
}
